package com.kgc.store.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class InventoryLossDetail implements Serializable {
    private Integer id;
    private String inventoryLossCode;
    private Integer goodId;
    private String goodsCode;
    private String goodsName;
    private String unit;
    private Integer inventoryLossNum;
    private BigDecimal singleCost;
    private  BigDecimal sumCost;
    private Integer isDelete;
    private Integer createId;
    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createDate;
    private Integer updateId;
    private String updateName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getInventoryLossCode() {
        return inventoryLossCode;
    }

    public void setInventoryLossCode(String inventoryLossCode) {
        this.inventoryLossCode = inventoryLossCode;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getInventoryLossNum() {
        return inventoryLossNum;
    }

    public void setInventoryLossNum(Integer inventoryLossNum) {
        this.inventoryLossNum = inventoryLossNum;
    }

    public BigDecimal getSingleCost() {
        return singleCost;
    }

    public void setSingleCost(BigDecimal singleCost) {
        this.singleCost = singleCost;
    }

    public BigDecimal getSumCost() {
        return sumCost;
    }

    public void setSumCost(BigDecimal sumCost) {
        this.sumCost = sumCost;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @Override
    public String toString() {
        return "InventoryLossDetail{" +
                "id=" + id +
                ", inventoryLossCode='" + inventoryLossCode + '\'' +
                ", goodId=" + goodId +
                ", goodsCode='" + goodsCode + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", unit='" + unit + '\'' +
                ", inventoryLossNum=" + inventoryLossNum +
                ", singleCost=" + singleCost +
                ", sumCost=" + sumCost +
                ", isDelete=" + isDelete +
                ", createId=" + createId +
                ", createName='" + createName + '\'' +
                ", createDate=" + createDate +
                ", updateId=" + updateId +
                ", updateName='" + updateName + '\'' +
                ", updateDate=" + updateDate +
                '}';
    }
}
